package com.team.service;

import com.team.entity.Section;
import com.team.vo.Result;
import com.team.vo.SectionVo;

/**
 * @author : 陈灰灰
 * @Date: 2022/10/13/20:18
 * @Description:
 */
public interface SectionService {

    /**
     * 选择所有部分
     *
     * @param id id
     * @return {@link Result}
     */
    Result selectAllSections(int id);

    /**
     * 部门科室连级
     * @return
     */
    Result selectAll();
    Result selectAllSections(SectionVo sectionVo);
    Result updateSection(Section section);
    Result addSection(Section section);
    Result selectAllSectionByDeptId(int currentPage,int pageSize,Integer id);
    Result updateByPrimaryKeySelective(Section record);

    Result selectAllByIds(int id);
}
